class CreatePromotions < ActiveRecord::Migration[5.0]
  def change
    create_table :promotions do |t|
      t.string :title
      t.string :type
      t.boolean :actived
      t.datetime :started_at
      t.datetime :ended_at
      t.decimal :discount
      t.timestamps
    end
  end
end
